# 读取文件
import json


def read_file(file_path):
    with open(file_path, 'r', encoding='utf-8') as file:
        content = file.read()
    return content


def read_file_as_json(file_path):
    return json.loads(read_file(file_path))
